
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>时间片调度 · STM32HAL系列教程</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Atonidas">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-lou/lou.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../加入我们/" />
    
    
    <link rel="prev" href="EasyFlash.html" />
    

    </head>
    <body>
         

<div class="book">
  <div class="header-inner">
    <!-- LOGO -->
    <div class="logo"></div>
    <span class="title"></span>

    <!-- Search -->
    
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>


    <!-- Nav -->
    <ul class="header-nav">
      <li>
        <a href="https://Gitee.com/atonidas" target="_blank">Gitee</a>
      </li>
    </ul>
  </div>

  <div class="book-summary">
    <div class="book-summary-title">文档目录</div>
     
    <nav role="navigation">


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../软件环境/">
            
                <a href="../软件环境/">
            
                    
                    软件环境
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../软件环境/VScode的使用.html">
            
                <a href="../软件环境/VScode的使用.html">
            
                    
                    VScode快速入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../软件环境/VSCode插件分享.html">
            
                <a href="../软件环境/VSCode插件分享.html">
            
                    
                    VScode插件分享
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../软件环境/CubeMX简介.html">
            
                <a href="../软件环境/CubeMX简介.html">
            
                    
                    CubeMX简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../软件环境/创建一个工程.html">
            
                <a href="../软件环境/创建一个工程.html">
            
                    
                    创建一个工程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../软件环境/Git版本管理.html">
            
                <a href="../软件环境/Git版本管理.html">
            
                    
                    Git版本管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../软件环境/创建一个快速开发模板.html">
            
                <a href="../软件环境/创建一个快速开发模板.html">
            
                    
                    创建一个快速开发模板
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../STM32的IO口/">
            
                <a href="../STM32的IO口/">
            
                    
                    STM32的IO口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../STM32的IO口/点亮一个LED.html">
            
                <a href="../STM32的IO口/点亮一个LED.html">
            
                    
                    点亮一个LED
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../STM32的IO口/使用独立按键.html">
            
                <a href="../STM32的IO口/使用独立按键.html">
            
                    
                    使用独立按键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../STM32中断/">
            
                <a href="../STM32中断/">
            
                    
                    STM32中断
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../STM32中断/CubeMX外部中断配置.html">
            
                <a href="../STM32中断/CubeMX外部中断配置.html">
            
                    
                    CubeMX外部中断配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../STM32中断/HAL库外部中断程序.html">
            
                <a href="../STM32中断/HAL库外部中断程序.html">
            
                    
                    HAL库外部中断程序
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../STM32定时器/">
            
                <a href="../STM32定时器/">
            
                    
                    STM32定时器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../STM32定时器/定时器简单中断程序.html">
            
                <a href="../STM32定时器/定时器简单中断程序.html">
            
                    
                    定时器简单中断程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../STM32定时器/硬件PWM输出.html">
            
                <a href="../STM32定时器/硬件PWM输出.html">
            
                    
                    硬件PWM输出
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../STM32定时器/DMA输出PWM控制WS2812.html">
            
                <a href="../STM32定时器/DMA输出PWM控制WS2812.html">
            
                    
                    DMA输出PWM控制WS2812
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../STM32串口/">
            
                <a href="../STM32串口/">
            
                    
                    STM32串口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../STM32串口/串口发送及中断接收.html">
            
                <a href="../STM32串口/串口发送及中断接收.html">
            
                    
                    串口发送及中断接收
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../STM32串口/串口的格式化输出.html">
            
                <a href="../STM32串口/串口的格式化输出.html">
            
                    
                    串口的格式化输出
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../STM32串口/串口DMA传输.html">
            
                <a href="../STM32串口/串口DMA传输.html">
            
                    
                    串口DMA传输
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../STM32串口/简单协议编写.html">
            
                <a href="../STM32串口/简单协议编写.html">
            
                    
                    简单协议编写
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../SPI协议/">
            
                <a href="../SPI协议/">
            
                    
                    SPI协议
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../SPI协议/CubeMX配置及主要函数.html">
            
                <a href="../SPI协议/CubeMX配置及主要函数.html">
            
                    
                    CubeMX配置及主要参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../SPI协议/OLED驱动移植.html">
            
                <a href="../SPI协议/OLED驱动移植.html">
            
                    
                    OLED驱动移植
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../SPI协议/LVGL移植显示.html">
            
                <a href="../SPI协议/LVGL移植显示.html">
            
                    
                    LVGL移植显示
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../SPI协议/Flash的使用及文件系统.html">
            
                <a href="../SPI协议/Flash的使用及文件系统.html">
            
                    
                    Flash的使用及文件系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../ADC的使用/">
            
                <a href="../ADC的使用/">
            
                    
                    ADC的使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../ADC的使用/CubeMX中ADC配置概览.html">
            
                <a href="../ADC的使用/CubeMX中ADC配置概览.html">
            
                    
                    CubeMX中ADC配置概览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../ADC的使用/查询阻塞方式.html">
            
                <a href="../ADC的使用/查询阻塞方式.html">
            
                    
                    查询阻塞方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../ADC的使用/中断方式.html">
            
                <a href="../ADC的使用/中断方式.html">
            
                    
                    中断方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../ADC的使用/DMA方式.html">
            
                <a href="../ADC的使用/DMA方式.html">
            
                    
                    DMA方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="../ADC的使用/应用示例.html">
            
                <a href="../ADC的使用/应用示例.html">
            
                    
                    应用示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="./">
            
                <a href="./">
            
                    
                    其他代码整合搬运
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="MultiButton.html">
            
                <a href="MultiButton.html">
            
                    
                    MultiButton
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="EasyLogger.html">
            
                <a href="EasyLogger.html">
            
                    
                    EasyLogger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="letter-shell.html">
            
                <a href="letter-shell.html">
            
                    
                    letter-shell
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="EasyFlash.html">
            
                <a href="EasyFlash.html">
            
                    
                    EasyFlash
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.9.5" data-path="时间片调度.html">
            
                <a href="时间片调度.html">
            
                    
                    时间片调度
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../加入我们/">
            
                <a href="../加入我们/">
            
                    
                    加入我们
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../加入我们/Gitbook环境.html">
            
                <a href="../加入我们/Gitbook环境.html">
            
                    
                    Gitbook环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../加入我们/Markdown语法简介.html">
            
                <a href="../加入我们/Markdown语法简介.html">
            
                    
                    Markdown语法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="../加入我们/编辑器推荐.html">
            
                <a href="../加入我们/编辑器推荐.html">
            
                    
                    编辑器推荐
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="../加入我们/工程文件说明.html">
            
                <a href="../加入我们/工程文件说明.html">
            
                    
                    工程文件说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" data-path="../加入我们/提交注意事项.html">
            
                <a href="../加入我们/提交注意事项.html">
            
                    
                    提交注意事项
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>

</nav>
     
  </div>

  <!-- Content nav -->
  <div class="book-anchor">
    <div class="book-anchor-title"></div>

    <div class="book-anchor-body"></div>
  </div>

  <div class="book-body">
    
    <div class="body-inner">
       

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >时间片调度</a>
    </h1>
</div>



      <div class="page-wrapper" tabindex="-1" role="main">
        <div class="page-inner">
          
<div id="book-search-results">
    <div class="search-noresults">
    
          <section class="normal markdown-section">
             <h1 id="&#x65F6;&#x95F4;&#x7247;&#x539F;&#x7406;&#x7B80;&#x4ECB;">&#x65F6;&#x95F4;&#x7247;&#x539F;&#x7406;&#x7B80;&#x4ECB;</h1>
<blockquote>
<p><a href="https://wwo.lanzouy.com/ikDGZ00p1ixi" target="_blank">&#x4EE3;&#x7801;&#x6846;&#x67B6;&#x4E0B;&#x8F7D;</a></p>
</blockquote>
<p>&#x5728;&#x5B9A;&#x65F6;&#x5668;&#x7B80;&#x5355;&#x4E2D;&#x65AD;&#x7A0B;&#x5E8F;&#x7684;&#x7AE0;&#x8282;&#x4E2D;&#xFF0C;One more thing &#x90A3;&#x7B80;&#x5355;&#x4ECB;&#x7ECD;&#x4E86;&#x65F6;&#x95F4;&#x7247;&#x7684;&#x5927;&#x6982;&#x601D;&#x8DEF;&#xFF0C;&#x4F46;&#x90A3;&#x4E2A;&#x662F;&#x4E00;&#x4E2A;&#x968F;&#x624B;&#x5199;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x4E0D;&#x591F;&#x89C4;&#x6574;&#xFF0C;&#x53EF;&#x8BFB;&#x6027;&#x548C;&#x62D3;&#x5C55;&#x6027;&#x90FD;&#x5F88;&#x5DEE;&#xFF0C;&#x5E76;&#x4E0D;&#x9002;&#x5408;&#x5E94;&#x7528;&#x5728;&#x6211;&#x4EEC;&#x7684;&#x5B9E;&#x9645;&#x9879;&#x76EE;&#x4E2D;&#x3002;&#x56E0;&#x6B64;&#x6211;&#x4EEC;&#x6700;&#x540E;&#x4E86;&#x89E3;&#x4E00;&#x4E0B;&#x65F6;&#x95F4;&#x7247;&#x600E;&#x4E48;&#x5199;&#x624D;&#x597D;&#x4E00;&#x4E9B;&#xFF0C;&#x53C8;&#x5E94;&#x8BE5;&#x600E;&#x4E48;&#x7528;&#x3002;</p>
<p>&#x9996;&#x5148;&#xFF0C;&#x6211;&#x4EEC;&#x56DE;&#x987E;&#x4E4B;&#x524D;&#x7684;&#x7A0B;&#x5E8F;&#x7ED3;&#x6784;&#xFF0C;&#x5927;&#x6982;&#x53EF;&#x4EE5;&#x7528;&#x4EE5;&#x4E0B;&#x7684;&#x6846;&#x56FE;&#x6982;&#x62EC;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x65F6;&#x95F4;&#x7247;&#x7ED3;&#x6784;.png" alt=""></p>
<p>&#x7B80;&#x5355;&#x6982;&#x62EC;&#x5C31;&#x662F;&#xFF1A;&#x5728;&#x5B9A;&#x65F6;&#x5668;&#x4E2D;&#x65AD;&#x4E2D;&#x53BB;&#x8BA1;&#x65F6;&#x5224;&#x65AD;&#x5E76;&#x8BBE;&#x7F6E;&#x5404;&#x4E2A;&#x6807;&#x5FD7;&#x4F4D;&#xFF0C;&#x5728;&#x4E3B;&#x51FD;&#x6570;&#x4E2D;&#x4F9D;&#x6B21;&#x5224;&#x65AD;&#x6807;&#x5FD7;&#x4F4D;&#x5E76;&#x8FD0;&#x884C;&#x5176;&#x5BF9;&#x5E94;&#x7684;&#x4EFB;&#x52A1;&#x4EE5;&#x53CA;&#x6E05;&#x7A7A;&#x6807;&#x5FD7;&#x4F4D;&#x3002;&#x6574;&#x4F53;&#x7684;&#x903B;&#x8F91;&#x4E0D;&#x7B97;&#x590D;&#x6742;&#xFF0C;&#x4F46;&#x662F;&#x4E1C;&#x897F;&#x591A;&#x4E86;&#x4E4B;&#x540E;&#x4F1A;&#x5F88;&#x9EBB;&#x70E6;&#xFF1A;&#x6709;&#x5927;&#x91CF;&#x7684;&#x8FD0;&#x884C;&#x6807;&#x5FD7;&#x548C;&#x8BA1;&#x6570;&#x5668;&#x9700;&#x8981;&#x6211;&#x4EEC;&#x624B;&#x52A8;&#x88C5;&#x586B;&#xFF0C;&#x624B;&#x52A8;&#x7BA1;&#x7406;&#xFF0C;&#x8FD9;&#x6837;&#x4E0D;&#x8BBA;&#x662F;&#x52A0;&#x5165;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x4EFB;&#x52A1;&#x8FD8;&#x662F;&#x5220;&#x9664;&#x65E7;&#x7684;&#x4EFB;&#x52A1;&#x90FD;&#x4F1A;&#x5F88;&#x9EBB;&#x70E6;&#x3002;</p>
<p>&#x56E0;&#x6B64;&#xFF0C;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x5584;&#x7528;&#x5FAA;&#x73AF;&#x5904;&#x7406;&#xFF0C;&#x5B8F;&#x5B9A;&#x4E49;&#x4EE5;&#x53CA;<strong>&#x7ED3;&#x6784;&#x4F53;</strong>&#x3002;&#x4E0A;&#x6587;&#x63D0;&#x5230;&#x7684;&#x6BCF;&#x4E2A;&#x4EFB;&#x52A1;&#x5BF9;&#x5E94;&#x7684;&#x8FD0;&#x884C;&#x6807;&#x5FD7;&#x3001;&#x8BA1;&#x6570;&#x5668;&#x3001;&#x8FD0;&#x884C;&#x95F4;&#x9694;&#x3001;&#x91CD;&#x88C5;&#x95F4;&#x9694;&#x3001;&#x5BF9;&#x5E94;&#x7684;&#x4EFB;&#x52A1;&#x8BED;&#x53E5;&#x90FD;&#x53EF;&#x4EE5;&#x7528;&#x7ED3;&#x6784;&#x4F53;&#x7684;&#x65B9;&#x5F0F;&#x8FDB;&#x884C;&#x5C01;&#x88C5;&#xFF0C;&#x53EF;&#x770B;&#x4E0B;&#x6587;&#x3002;</p>
<h1 id="&#x4EE3;&#x7801;&#x6982;&#x89C8;">&#x4EE3;&#x7801;&#x6982;&#x89C8;</h1>
<h2 id="&#x8BA1;&#x65F6;&#x6838;&#x5FC3;">&#x8BA1;&#x65F6;&#x6838;&#x5FC3;</h2>
<p>&#x9996;&#x5148;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x7ED3;&#x6784;&#x4F53;&#xFF0C;&#x7BA1;&#x7406;&#x5404;&#x4E2A;&#x4EFB;&#x52A1;&#x7684;&#x8BA1;&#x65F6;&#xFF0C;&#x95F4;&#x9694;&#x65F6;&#x95F4;&#xFF0C;&#x8FD0;&#x884C;&#x6807;&#x5FD7;&#x7B49;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-comment">// &#x4EFB;&#x52A1;&#x7ED3;&#x6784;</span>
<span class="hljs-keyword">typedef</span> <span class="hljs-keyword">struct</span> _TASK_COMPONENTS
{
    <span class="hljs-keyword">unsigned</span> <span class="hljs-keyword">char</span> Run;            <span class="hljs-comment">// &#x7A0B;&#x5E8F;&#x8FD0;&#x884C;&#x6807;&#x8BB0;&#xFF1A;0-&#x4E0D;&#x8FD0;&#x884C;&#xFF0C;1&#x8FD0;&#x884C;</span>
    <span class="hljs-keyword">unsigned</span> <span class="hljs-keyword">short</span> Timer;         <span class="hljs-comment">// &#x8BA1;&#x65F6;&#x5668;</span>
    <span class="hljs-keyword">unsigned</span> <span class="hljs-keyword">short</span> ItvTime;       <span class="hljs-comment">// &#x4EFB;&#x52A1;&#x8FD0;&#x884C;&#x95F4;&#x9694;&#x65F6;&#x95F4;</span>
    <span class="hljs-keyword">void</span> (*TaskHook)(<span class="hljs-keyword">void</span>); <span class="hljs-comment">// &#x8981;&#x8FD0;&#x884C;&#x7684;&#x4EFB;&#x52A1;&#x51FD;&#x6570;</span>
} TASK_COMPONENTS;          <span class="hljs-comment">// &#x4EFB;&#x52A1;&#x5B9A;&#x4E49;</span>
</code></pre>
<p>&#x5728;&#x8FD9;&#x91CC;&#xFF0C;&#x6BCF;&#x4E2A;&#x8FDB;&#x7A0B;&#x5BF9;&#x5E94;&#x7684;&#x4EE3;&#x7801;&#x901A;&#x8FC7;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#x7684;&#x6307;&#x9488;&#x5C01;&#x88C5;&#xFF0C;&#x8FD9;&#x6837;&#x65B9;&#x4FBF;&#x6211;&#x4EEC;&#x89C4;&#x8303;&#x7BA1;&#x7406;&#x5404;&#x4E2A;&#x4EFB;&#x52A1;&#x3002;</p>
<p>&#x800C;&#x4E4B;&#x540E;&#x4FBF;&#x662F;&#x6700;&#x91CD;&#x8981;&#x7684;&#x8BA1;&#x65F6;&#x5904;&#x7406;&#x90E8;&#x5206;&#xFF0C;&#x901A;&#x5E38;&#x6211;&#x4EEC;&#x4E60;&#x60EF;&#x4EE5;1ms&#x4E3A;&#x6700;&#x5C0F;&#x7684;&#x8FD0;&#x884C;&#x65F6;&#x95F4;&#x5355;&#x4F4D;&#xFF0C;&#x90A3;&#x4E48;&#x6211;&#x4EEC;&#x7684;&#x8BA1;&#x65F6;&#x7A0B;&#x5E8F;&#x53EF;&#x4EE5;&#x653E;&#x5728;&#x4E00;&#x4E2A;1ms&#x4E00;&#x6B21;&#x7684;&#x5B9A;&#x65F6;&#x5668;&#x4E2D;&#x65AD;&#x4E2D;&#xFF0C;&#x4FDD;&#x8BC1;&#x5B9A;&#x65F6;&#x8BA1;&#x6570;&#x7684;&#x51C6;&#x786E;&#x8FD0;&#x884C;&#x3002;&#x800C;&#x8BA1;&#x65F6;&#x90E8;&#x5206;&#x4E5F;&#x53EF;&#x4EE5;&#x7528;&#x5B8F;&#x5B9A;&#x4E49;&#x548C;&#x5FAA;&#x73AF;&#x914D;&#x5408;&#xFF0C;&#x65B9;&#x4FBF;&#x6211;&#x4EEC;&#x66F4;&#x6539;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">TaskRemarks</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span>
</span>{
  <span class="hljs-keyword">for</span> (<span class="hljs-keyword">uint8_t</span> i = <span class="hljs-number">0</span>; i &lt; TASKS_MAX; i++)
  {
    <span class="hljs-keyword">if</span> (TaskComps[i].Timer)
    {
      TaskComps[i].Timer--;
      <span class="hljs-keyword">if</span> (TaskComps[i].Timer == <span class="hljs-number">0</span>)
      {
        TaskComps[i].Timer = TaskComps[i].ItvTime;
        TaskComps[i].Run = <span class="hljs-number">1</span>;
      }
    }
  }
}
</code></pre>
<p>&#x6211;&#x4EEC;&#x8BD5;&#x7740;&#x5B9A;&#x4E49;&#x51E0;&#x4E2A;&#x4EFB;&#x52A1;&#xFF0C;&#x6BD4;&#x5982;20ms&#x4E00;&#x6B21;&#x7684;OLED&#x5237;&#x5C4F;&#x3001;1000ms&#x7684;&#x4E32;&#x53E3;&#x6253;&#x5370;&#x3001;125ms&#x7684;LED&#x95EA;&#x70C1;&#x3001;100ms&#x7684;ADC&#x53D6;&#x503C;&#xB7;&#xB7;&#xB7;&#xB7;&#xB7;&#xB7;</p>
<pre><code class="lang-c"><span class="hljs-meta">#<span class="hljs-meta-keyword">define</span> TASKS_MAX 4</span>

<span class="hljs-keyword">static</span> TASK_COMPONENTS TaskComps[] =
    {
        {<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">20</span>, Task_OLED_Upadata},
        {<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1000</span>, Task_UART_Print},
        {<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">125</span>, Task_LED},
        {<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">100</span>, Task_ADC},
};
</code></pre>
<p>&#x8FD9;&#x6837;&#x6211;&#x4EEC;&#x9700;&#x8981;&#x6539;&#x5404;&#x4E2A;&#x4EFB;&#x52A1;&#x7684;&#x8FD0;&#x884C;&#x65F6;&#x95F4;&#x548C;&#x4EFB;&#x52A1;&#x6570;&#x76EE;&#x5C31;&#x5F88;&#x65B9;&#x4FBF;&#x4E86;&#x3002;&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x662F;&#xFF0C;&#x8FD9;&#x91CC;&#x7684;&#x8BA1;&#x65F6;&#x5668;&#x65F6;&#x95F4;&#x5F97;&#x586B;1&#x6216;&#x5176;&#x4ED6;&#x4E0D;&#x4E3A;0&#x7684;&#x6570;&#xFF0C;&#x8FD9;&#x662F;&#x56E0;&#x4E3A;&#x5728;<code>TaskRemarks()</code>&#x6807;&#x5FD7;&#x8BA1;&#x6570;&#x51FD;&#x6570;&#x4E2D;&#x662F;&#x5148;&#x51CF;&#x4E00;&#x518D;&#x5224;&#x65AD;&#x662F;&#x5426;&#x5B9A;&#x65F6;&#x5230;0&#x7684;&#xFF0C;&#x5982;&#x679C;&#x586B;0&#x4F1A;&#x5BFC;&#x81F4;&#x6570;&#x636E;&#x6EA2;&#x51FA;&#x4EE5;&#x81F3;&#x4E8E;&#x4EFB;&#x52A1;&#x8FDF;&#x8FDF;&#x4E0D;&#x80FD;&#x8FDB;&#x884C;&#x3002;</p>
<p>&#x4E4B;&#x540E;&#x6211;&#x4EEC;&#x52A0;&#x5165;&#x9700;&#x8981;&#x7684;&#x5934;&#x6587;&#x4EF6;&#xFF0C;&#x589E;&#x52A0;&#x4E00;&#x4E2A;&#x65B9;&#x4FBF;&#x540E;&#x7EED;&#x4FEE;&#x6539;&#x7684;&#x5B8F;&#x5B9A;&#x4E49;&#xFF0C;&#x5E76;&#x653E;&#x5230;&#x5B9A;&#x65F6;&#x5668;&#x4E2D;&#x65AD;&#x4E2D;&#xFF1A;</p>
<p>&#x5934;&#x6587;&#x4EF6;&#x548C;&#x5B8F;&#x5B9A;&#x4E49;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;TimTask.h&quot;</span></span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;MY_Process.h&quot;</span>//&#x81EA;&#x5DF1;&#x7684;&#x8FDB;&#x7A0B;&#x5934;&#x6587;&#x4EF6;</span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;tim.h&quot;</span></span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">define</span> TASK_TIM htim1</span>
</code></pre>
<p>&#x5B9A;&#x65F6;&#x5668;&#x4E2D;&#x65AD;&#x8C03;&#x7528;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">HAL_TIM_PeriodElapsedCallback</span><span class="hljs-params">(TIM_HandleTypeDef *htim)</span>
</span>{
  <span class="hljs-keyword">if</span> (htim == (&amp;TASK_TIM))
  {
    TaskRemarks();
  }
}
</code></pre>
<h2 id="&#x4EFB;&#x52A1;&#x8FD0;&#x884C;">&#x4EFB;&#x52A1;&#x8FD0;&#x884C;</h2>
<p>&#x5B8C;&#x6210;&#x4E86;&#x4EFB;&#x52A1;&#x7684;&#x8BA1;&#x65F6;&#xFF0C;&#x5269;&#x4E0B;&#x7684;&#x4FBF;&#x662F;&#x5224;&#x65AD;&#x6807;&#x5FD7;&#x4EE5;&#x53CA;&#x8FD0;&#x884C;&#x4EFB;&#x52A1;&#x5E76;&#x5728;&#x8FD0;&#x884C;&#x540E;&#x6E05;&#x695A;&#x6807;&#x5FD7;&#x4E86;&#x3002;&#x6211;&#x4EEC;&#x4F9D;&#x65E7;&#x662F;&#x7528;&#x5FAA;&#x73AF;&#x548C;&#x5224;&#x65AD;&#x7684;&#x65B9;&#x5F0F;&#xFF1A;</p>
<pre><code>void TaskProcess(void)
{
  for (uint8_t i = 0; i &lt; TASKS_MAX; i++)
  {
    if (TaskComps[i].Run)
    {
      TaskComps[i].TaskHook();
      TaskComps[i].Run = 0;
    }
  }
}
</code></pre><p>&#x800C;&#x4EFB;&#x52A1;&#x9700;&#x8981;&#x6211;&#x4EEC;&#x81EA;&#x5DF1;&#x5B9A;&#x4E49;&#xFF0C;&#x901A;&#x5E38;&#x662F;&#x65E0;&#x8FD4;&#x56DE;&#x503C;&#x7684;&#x51FD;&#x6570;&#x3002;&#x8FD9;&#x91CC;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x6DFB;&#x52A0;.c.h&#x6587;&#x4EF6;&#xFF0C;&#x5728;&#x91CC;&#x9762;&#x5B9A;&#x4E49;&#xFF1A;</p>
<p>&#x5728;<code>MY_Process.h</code>&#x4E2D;&#x5B9A;&#x4E49;&#x5404;&#x4E2A;&#x65F6;&#x95F4;&#x7247;&#x7ED3;&#x6784;&#x4F53;&#x4E2D;&#x9700;&#x8981;&#x7684;&#x51FD;&#x6570;&#xFF0C;&#x4E3A;&#x65B9;&#x4FBF;&#x7BA1;&#x7406;&#xFF0C;&#x4E5F;&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x7EDF;&#x4E00;&#x7684;&#x521D;&#x59CB;&#x5316;&#x51FD;&#x6570;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;main.h&quot;</span></span>

<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">Task_OLED_Upadata</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span></span>;
<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">Task_UART_Print</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span></span>;
<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">Task_LED</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span></span>;
<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">Task_ADC</span><span class="hljs-params">(<span class="hljs-keyword">void</span>)</span></span>;

<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">Process_Init</span><span class="hljs-params">()</span></span>;
</code></pre>
<p>&#x5982;&#x6211;&#x81EA;&#x5DF1;&#x7684;&#x4EFB;&#x52A1;&#x662F;&#x8FD9;&#x6837;&#x7684;&#xFF1A;(&#x6BCF;&#x4E2A;&#x4EBA;&#x7684;&#x4EE3;&#x7801;&#x4E0D;&#x540C;&#xFF0C;&#x8FD9;&#x91CC;&#x4E0D;&#x653E;&#x4EE3;&#x7801;&#x53C2;&#x8003;)</p>
<blockquote>
<p><strong>&#x9700;&#x8981;&#x6CE8;&#x610F;&#x7684;&#x662F;&#xFF1A;&#x521D;&#x59CB;&#x5316;&#x4E2D;&#x7528;&#x5230;&#x7684;&#x76F8;&#x5E94;&#x5916;&#x8BBE;&#x8BB0;&#x5F97;&#x5305;&#x542B;&#x5176;&#x5BF9;&#x5E94;&#x7684;&#x5934;&#x6587;&#x4EF6;</strong></p>
</blockquote>
<p><img src="&#x56FE;&#x7247;/&#x4EFB;&#x52A1;&#x51FD;&#x6570;&#x53CA;&#x5176;&#x521D;&#x59CB;&#x5316;.png" alt=""></p>
<p>&#x5728;&#x5B8C;&#x6210;&#x4EFB;&#x52A1;&#x51FD;&#x6570;&#x7684;&#x7F16;&#x5199;&#x540E;&#x5C31;&#x5927;&#x529F;&#x544A;&#x6210;&#x4E86;&#xFF0C;&#x63A5;&#x7740;&#x6211;&#x4EEC;&#x5728;&#x4E3B;&#x51FD;&#x6570;&#x4E2D;&#x5F15;&#x7528;&#x6211;&#x4EEC;&#x5B9A;&#x4E49;&#x7684;&#x5934;&#x6587;&#x4EF6;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-comment">/* USER CODE BEGIN Includes */</span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;TimTask.h&quot;</span></span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;MY_Process.h&quot;</span></span>
<span class="hljs-comment">/* USER CODE END Includes */</span>
</code></pre>
<p>&#x4E4B;&#x540E;&#x8C03;&#x7528;&#x6211;&#x4EEC;&#x6574;&#x5408;&#x597D;&#x7684;&#x5916;&#x8BBE;&#x521D;&#x59CB;&#x5316;&#x51FD;&#x6570;&#xFF0C;&#x4E3B;&#x51FD;&#x6570;&#x91CC;&#x4F5C;&#x5FAA;&#x73AF;&#x5224;&#x65AD;&#x8FD0;&#x884C;&#xFF1A;</p>
<pre><code class="lang-c"><span class="hljs-comment">/* USER CODE BEGIN 2 */</span>
  Process_Init();
  <span class="hljs-comment">/* USER CODE END 2 */</span>

  <span class="hljs-comment">/* Infinite loop */</span>
  <span class="hljs-comment">/* USER CODE BEGIN WHILE */</span>
  <span class="hljs-keyword">while</span> (<span class="hljs-number">1</span>)
  {
    TaskProcess();
    <span class="hljs-comment">/* USER CODE END WHILE */</span>

    <span class="hljs-comment">/* USER CODE BEGIN 3 */</span>
  }
</code></pre>
<p>&#x786E;&#x8BA4;&#x65E0;&#x8BEF;&#x5C31;&#x53EF;&#x4EE5;&#x7F16;&#x8BD1;&#x5E76;&#x4E0B;&#x8F7D;&#x9A8C;&#x8BC1;&#x4E86;&#x3002;</p>
<h1 id="&#x5E94;&#x7528;&#x793A;&#x4F8B;">&#x5E94;&#x7528;&#x793A;&#x4F8B;</h1>
<blockquote>
<p>&#x4EE5;F401&#xFF0C;&#x4E3B;&#x9891;84MHz&#x4E3A;&#x4F8B;&#xFF0C;&#x4E0D;&#x540C;MCU&#x8BB0;&#x5F97;&#x66F4;&#x6539;&#x5BF9;&#x5E94;&#x7684;&#x5B9A;&#x65F6;&#x5668;&#x8BA1;&#x6570;&#x503C;</p>
</blockquote>
<h2 id="&#x914D;&#x7F6E;&#x65F6;&#x95F4;&#x7247;">&#x914D;&#x7F6E;&#x65F6;&#x95F4;&#x7247;</h2>
<p>&#x65B0;&#x5EFA;&#x4E00;&#x4E2A;&#x5DE5;&#x7A0B;&#xFF0C;&#x6253;&#x5F00;&#x4E00;&#x4E2A;1ms&#x4E00;&#x6B21;&#x7684;&#x5B9A;&#x65F6;&#x5668;&#x4E2D;&#x65AD;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/1ms&#x53C2;&#x6570;&#x914D;&#x7F6E;.png" alt=""></p>
<p><img src="&#x56FE;&#x7247;/TIM1&#x4E2D;&#x65AD;.png" alt=""></p>
<p>&#x914D;&#x7F6E;&#x81EA;&#x5DF1;&#x9700;&#x8981;&#x7684;&#x5916;&#x8BBE;&#xFF1A;(&#x6211;&#x81EA;&#x5DF1;&#x7528;&#x7684;&#xFF0C;&#x89C6;&#x81EA;&#x5DF1;&#x9700;&#x6C42;&#x8BBE;&#x7F6E;)</p>
<p><img src="&#x56FE;&#x7247;/&#x5916;&#x8BBE;&#x914D;&#x7F6E;.png" alt=""></p>
<p>&#x751F;&#x6210;&#x4EE3;&#x7801;&#xFF0C;&#x5728;&#x5DE5;&#x7A0B;&#x4E2D;&#x52A0;&#x5165;<a href="https://wwo.lanzouy.com/ikDGZ00p1ixi" target="_blank">&#x65F6;&#x95F4;&#x7247;&#x76F8;&#x5E94;&#x6587;&#x4EF6;&#x5939;</a>&#x4EE5;&#x53CA;&#x5176;&#x4ED6;&#x5916;&#x8BBE;&#x7684;&#x6587;&#x4EF6;&#x5939;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x6DFB;&#x52A0;&#x6587;&#x4EF6;&#x5939;.png" alt=""></p>
<p>&#x5B9A;&#x4E49;&#x81EA;&#x5DF1;&#x7684;&#x57FA;&#x51C6;&#x5B9A;&#x65F6;&#x5668;&#xFF0C;&#x4EFB;&#x52A1;&#x6570;&#x76EE;&#xFF0C;&#x4EFB;&#x52A1;&#x8FD0;&#x884C;&#x53C2;&#x6570;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x5B9A;&#x4E49;&#x4EFB;&#x52A1;&#x53C2;&#x6570;.png" alt=""></p>
<p>&#x6DFB;&#x52A0;&#x76F8;&#x5E94;&#x7684;&#x4EFB;&#x52A1;&#x51FD;&#x6570;&#x4EE5;&#x53CA;&#x521D;&#x59CB;&#x5316;&#x51FD;&#x6570;&#xFF0C;&#x522B;&#x5FD8;&#x4E86;&#x5F15;&#x7528;&#x5934;&#x6587;&#x4EF6;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x4EFB;&#x52A1;&#x51FD;&#x6570;&#x53CA;&#x5176;&#x521D;&#x59CB;&#x5316;.png" alt=""></p>
<p>&#x5728;<code>My_Process.h</code>&#x4E2D;&#x5B9A;&#x4E49;&#x4EFB;&#x52A1;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x5B9A;&#x4E49;&#x4EFB;&#x52A1;.png" alt=""></p>
<p>&#x522B;&#x5FD8;&#x4E86;&#x4FEE;&#x6539;&#x81EA;&#x5DF1;&#x4EFB;&#x52A1;&#x6570;&#x81EA;&#x5DF1;&#x6240;&#x7528;&#x5B9A;&#x65F6;&#x5668;&#xFF1A;</p>
<p><img src="&#x56FE;&#x7247;/&#x4FEE;&#x6539;&#x4EFB;&#x52A1;&#x6570;.png" alt=""></p>
<p><img src="&#x56FE;&#x7247;/&#x4FEE;&#x6539;&#x6240;&#x7528;&#x5B9A;&#x65F6;&#x5668;.png" alt=""></p>
<p>&#x4E4B;&#x540E;&#x4E3B;&#x51FD;&#x6570;&#x4E2D;&#xFF1A;&#x5305;&#x542B;&#x5934;&#x6587;&#x4EF6;&#x2192;&#x521D;&#x59CB;&#x5316;&#x4EFB;&#x52A1;&#x8FDB;&#x7A0B;&#x2192;&#x5FAA;&#x73AF;&#x8FD0;&#x884C;&#x8FDB;&#x7A0B;&#x64CD;&#x4F5C;&#x51FD;&#x6570; &#x5373;&#x53EF;&#xFF0C;&#x8FD9;&#x91CC;&#x4E0D;&#x518D;&#x6F14;&#x793A;</p>
 
          </section>
          
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>
 
        </div>
      </div>
      
    </div>

     
    <a
      href="EasyFlash.html"
      class="
        navigation navigation-prev
        
      "
      aria-label="Previous page: EasyFlash"
    >
      <i class="fa fa-angle-left"></i>
    </a>
     
    <a
      href="../加入我们/"
      class="
        navigation navigation-next
        
      "
      aria-label="Next page: 加入我们"
    >
      <i class="fa fa-angle-right"></i>
    </a>
      
  </div>
  <script>
    function showModal() {
      document.getElementsByClassName("mask")[0].style.display = "block";
      document.getElementsByClassName("donate-modal")[0].style.display =
        "block";
    }
    // 切换赞赏码
    function showDonateImg(num) {
      let alipay = "";
      let wxpay = ""
      if(num){
        wxpay = "hidden"
      }else{
        alipay = "hidden"
      }
      document.getElementById("wxpay-code").hidden = wxpay;
      document.getElementById("alipay-code").hidden = alipay;
      document.getElementsByName("pay-way")[num].checked = "checked";
    }

    // 关闭赞赏框
    function closeDonateModal() {
      document.getElementsByClassName("mask")[0].style.display = "none";
      document.getElementsByClassName("donate-modal")[0].style.display = "none";
    }

    var gitbook = gitbook || [];
    gitbook.push(function () {
      gitbook.page.hasChanged({"page":{"title":"时间片调度","level":"1.9.5","depth":2,"next":{"title":"加入我们","level":"1.10","depth":1,"path":"加入我们/README.md","ref":"./加入我们/README.md","articles":[{"title":"Gitbook环境","level":"1.10.1","depth":2,"path":"加入我们/Gitbook环境.md","ref":"./加入我们/Gitbook环境.md","articles":[]},{"title":"Markdown语法","level":"1.10.2","depth":2,"path":"加入我们/Markdown语法简介.md","ref":"./加入我们/Markdown语法简介.md","articles":[]},{"title":"编辑器推荐","level":"1.10.3","depth":2,"path":"加入我们/编辑器推荐.md","ref":"./加入我们/编辑器推荐.md","articles":[]},{"title":"工程文件说明","level":"1.10.4","depth":2,"path":"加入我们/工程文件说明.md","ref":"./加入我们/工程文件说明.md","articles":[]},{"title":"提交注意事项","level":"1.10.5","depth":2,"path":"加入我们/提交注意事项.md","ref":"./加入我们/提交注意事项.md","articles":[]}]},"previous":{"title":"EasyFlash","level":"1.9.4","depth":2,"path":"其他代码整合搬运/EasyFlash.md","ref":"./其他代码整合搬运/EasyFlash.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-sharing","-search","-favicon","-code","expandable-chapters","theme-lou","back-to-top-button","search-pro","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"livereload":{},"search-pro":{},"code":{"copyButtons":true},"theme-lou":{"hide-elements":[".summary .gitbook-link"],"color":"#8abcd1","copyright":{"author":"Atonidas"},"forbidCopy":false,"logo":"assets/logo.png","search-placeholder":"查找关键内容","copyrightLogo":"assets/copyright.png","favicon":"assets/favicon.ico","autoNumber":3},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"Atonidas","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"themeLou":{"nav":[{"target":"_blank","url":"https://Gitee.com/atonidas","name":"Gitee"}]}},"title":"STM32HAL系列教程","gitbook":"*","description":"Gitbook电子书示例项目"},"file":{"path":"其他代码整合搬运/时间片调度.md","mtime":"2023-04-04T06:18:13.480Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-09-13T00:50:24.020Z"},"basePath":"..","book":{"language":""}});
    });
  </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-theme-lou/lou.js"></script>
        
    

    </body>
</html>

